<html>
<head><meta charset="utf-8"><title>PSA: rustbot label · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/PSA.3A.20rustbot.20label.html">PSA: rustbot label</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="217220279"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/PSA%3A%20rustbot%20label/near/217220279" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/PSA.3A.20rustbot.20label.html#217220279">(Nov 19 2020 at 01:42)</a>:</h4>
<p>PSA: You can now use a shorter form of <code>@rustbot modify labels to ...</code> --  the new form is <code>@rustbot label ...</code>, which I added in <a href="https://github.com/rust-lang/triagebot/issues/950">triagebot#950</a>.</p>



<a name="217544279"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/PSA%3A%20rustbot%20label/near/217544279" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/PSA.3A.20rustbot.20label.html#217544279">(Nov 22 2020 at 10:09)</a>:</h4>
<p>Nice :)</p>



<a name="217544357"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/PSA%3A%20rustbot%20label/near/217544357" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/PSA.3A.20rustbot.20label.html#217544357">(Nov 22 2020 at 10:11)</a>:</h4>
<p>Is it possible to add other shorthands? For example I quite like people using the bot to switch a PR between waiting-for-author and waiting-for-review, because it sends a notification. But the bot invocation for this is quite long, so I tend to just change the labels via GH's UI so I do not have to type the label names.<br>
Maybe there could be something like <code>@rustbot status=waiting-for-author</code> or just <code>@rustbot waiting-for-author</code> or so, that cleans the old status flag and sets the new one? Figuring out which ones to clear could be tricky though.</p>



<a name="217547660"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/PSA%3A%20rustbot%20label/near/217547660" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/PSA.3A.20rustbot.20label.html#217547660">(Nov 22 2020 at 11:48)</a>:</h4>
<p>What about <code>@rustbot review</code> and <code>@rustbot author</code>? Those are the most common ones and are likely to be set by "non-org contributors"</p>



<a name="217547811"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/PSA%3A%20rustbot%20label/near/217547811" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/PSA.3A.20rustbot.20label.html#217547811">(Nov 22 2020 at 11:52)</a>:</h4>
<p>From a triagebot perspective where "everything is feature", I could imagine a <code>status</code> feature that provides those commands and can be configured like:</p>
<div class="codehilite" data-code-language="TOML"><pre><span></span><code><span class="k">[status]</span>
<span class="n">review</span> <span class="o">=</span> <span class="s">"S-waiting-on-review"</span>
<span class="n">author</span> <span class="o">=</span> <span class="s">"S-waiting-on-author"</span>
<span class="c1"># etc...</span>
</code></pre></div>



<a name="217548933"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/PSA%3A%20rustbot%20label/near/217548933" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/PSA.3A.20rustbot.20label.html#217548933">(Nov 22 2020 at 12:24)</a>:</h4>
<p>I would be on board with supporting any / all of those suggestions :)</p>



<a name="217683562"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/PSA%3A%20rustbot%20label/near/217683562" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/PSA.3A.20rustbot.20label.html#217683562">(Nov 23 2020 at 21:14)</a>:</h4>
<p>Personally I think something like <span class="user-mention silent" data-user-id="120791">RalfJ</span>'s suggestion would be better; <code>@rustbot review</code> makes it sound like you're trying to review something.</p>



<a name="217683635"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/PSA%3A%20rustbot%20label/near/217683635" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/PSA.3A.20rustbot.20label.html#217683635">(Nov 23 2020 at 21:14)</a>:</h4>
<p>Something <code>@rustbot status=needs-review</code> seems fine or even <code>@rustbot status=review</code>, though I think the first is clearer.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>